package or.dbutils.entity;/*
 *@Author: gjh
 *Date: 2025/2/2616:29
 *Describe:
 */

public class Behavior {
    // 编号
    private int id;
    // 姓名
    private String name;
    // 触发
    private String tigger;
    // 状态
    private String state;

    public Behavior() {}

    public Behavior(int id, String name, String tigger, String state) {
        this.id = id;
        this.name = name;
        this.tigger = tigger;
        this.state = state;
    }

    public Behavior(String name, String tigger, String state) {
        this.name = name;
        this.tigger = tigger;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTigger() {
        return tigger;
    }

    public void setTigger(String tigger) {
        this.tigger = tigger;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Behavior{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tigger='" + tigger + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
